﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TIMSDataSet" targetNamespace="http://tempuri.org/TIMSDataSet.xsd" xmlns:mstns="http://tempuri.org/TIMSDataSet.xsd" xmlns="http://tempuri.org/TIMSDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TIMSConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TIMSConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.TIMSConnectionString1" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tsp_ContractsTableAdapter" GeneratorDataComponentClassName="tsp_ContractsTableAdapter" Name="tsp_Contracts" UserDataComponentName="tsp_ContractsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.tsp_Contracts" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.tsp_Contracts</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Action" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@cntID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PayType" Precision="5" ProviderType="SmallInt" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PrsID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Acc" Precision="0" ProviderType="Char" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cntNum" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@cntVn" Precision="19" ProviderType="Money" Scale="4" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD1" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD2" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD3" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cntText" Precision="0" ProviderType="NText" Scale="0" Size="1073741823" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cntNote" Precision="0" ProviderType="VarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@cntStatus" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="cntID" DataSetColumn="cntID" />
              <Mapping SourceColumn="PayType" DataSetColumn="PayType" />
              <Mapping SourceColumn="PrsID" DataSetColumn="PrsID" />
              <Mapping SourceColumn="Acc" DataSetColumn="Acc" />
              <Mapping SourceColumn="cntNum" DataSetColumn="cntNum" />
              <Mapping SourceColumn="cntVn" DataSetColumn="cntVn" />
              <Mapping SourceColumn="cntD1" DataSetColumn="cntD1" />
              <Mapping SourceColumn="cntD2" DataSetColumn="cntD2" />
              <Mapping SourceColumn="cntD3" DataSetColumn="cntD3" />
              <Mapping SourceColumn="cntText" DataSetColumn="cntText" />
              <Mapping SourceColumn="cntNote" DataSetColumn="cntNote" />
              <Mapping SourceColumn="cntStatus" DataSetColumn="cntStatus" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="TIMSDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="TIMSDataSet" msprop:Generator_UserDSName="TIMSDataSet" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tsp_Contracts" msprop:Generator_UserTableName="tsp_Contracts" msprop:Generator_RowDeletedName="tsp_ContractsRowDeleted" msprop:Generator_TableClassName="tsp_ContractsDataTable" msprop:Generator_RowChangedName="tsp_ContractsRowChanged" msprop:Generator_RowClassName="tsp_ContractsRow" msprop:Generator_RowChangingName="tsp_ContractsRowChanging" msprop:Generator_RowEvArgName="tsp_ContractsRowChangeEvent" msprop:Generator_RowEvHandlerName="tsp_ContractsRowChangeEventHandler" msprop:Generator_TablePropName="tsp_Contracts" msprop:Generator_TableVarName="tabletsp_Contracts" msprop:Generator_RowDeletingName="tsp_ContractsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="cntID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="cntID" msprop:Generator_ColumnPropNameInRow="cntID" msprop:Generator_ColumnVarNameInTable="columncntID" msprop:Generator_ColumnPropNameInTable="cntIDColumn" type="xs:int" />
              <xs:element name="PayType" msprop:Generator_UserColumnName="PayType" msprop:Generator_ColumnPropNameInRow="PayType" msprop:Generator_ColumnVarNameInTable="columnPayType" msprop:Generator_ColumnPropNameInTable="PayTypeColumn" type="xs:short" minOccurs="0" />
              <xs:element name="PrsID" msprop:Generator_UserColumnName="PrsID" msprop:Generator_ColumnPropNameInRow="PrsID" msprop:Generator_ColumnVarNameInTable="columnPrsID" msprop:Generator_ColumnPropNameInTable="PrsIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Acc" msprop:Generator_UserColumnName="Acc" msprop:Generator_ColumnPropNameInRow="Acc" msprop:Generator_ColumnVarNameInTable="columnAcc" msprop:Generator_ColumnPropNameInTable="AccColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntNum" msprop:Generator_UserColumnName="cntNum" msprop:Generator_ColumnPropNameInRow="cntNum" msprop:Generator_ColumnVarNameInTable="columncntNum" msprop:Generator_ColumnPropNameInTable="cntNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntVn" msprop:Generator_UserColumnName="cntVn" msprop:Generator_ColumnPropNameInRow="cntVn" msprop:Generator_ColumnVarNameInTable="columncntVn" msprop:Generator_ColumnPropNameInTable="cntVnColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="cntD1" msprop:Generator_UserColumnName="cntD1" msprop:Generator_ColumnPropNameInRow="cntD1" msprop:Generator_ColumnVarNameInTable="columncntD1" msprop:Generator_ColumnPropNameInTable="cntD1Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntD2" msprop:Generator_UserColumnName="cntD2" msprop:Generator_ColumnPropNameInRow="cntD2" msprop:Generator_ColumnVarNameInTable="columncntD2" msprop:Generator_ColumnPropNameInTable="cntD2Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntD3" msprop:Generator_UserColumnName="cntD3" msprop:Generator_ColumnPropNameInRow="cntD3" msprop:Generator_ColumnVarNameInTable="columncntD3" msprop:Generator_ColumnPropNameInTable="cntD3Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntText" msprop:Generator_UserColumnName="cntText" msprop:Generator_ColumnPropNameInRow="cntText" msprop:Generator_ColumnVarNameInTable="columncntText" msprop:Generator_ColumnPropNameInTable="cntTextColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntNote" msprop:Generator_UserColumnName="cntNote" msprop:Generator_ColumnPropNameInRow="cntNote" msprop:Generator_ColumnVarNameInTable="columncntNote" msprop:Generator_ColumnPropNameInTable="cntNoteColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntStatus" msprop:Generator_UserColumnName="cntStatus" msprop:Generator_ColumnPropNameInRow="cntStatus" msprop:Generator_ColumnVarNameInTable="columncntStatus" msprop:Generator_ColumnPropNameInTable="cntStatusColumn" type="xs:unsignedByte" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tsp_Contracts" />
      <xs:field xpath="mstns:cntID" />
    </xs:unique>
  </xs:element>
</xs:schema>